package com.xiaobai.spike.model.request;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;

@Data
@Valid
public class TokenRequest {
    @NotBlank
    private String code;
    @NotBlank
    private String client_id;
    @NotBlank
    private String client_secret;
    @NotBlank
    private String redirect_uri;
    @NotBlank
    private String grant_type = "authorization_code";

}
